package com.ymatou.query.trading.api.parameter;

public class OperationInterval {
	/**
	 * 卖家在买家已付款后多久未接单，买家可以取消<br>
	 * TimeSpan.FromHours(48);
	 */
	private long TakeOrder;

	/**
	 * 卖家已接单后多久未发起补款，买家可以退货退款<br>
	 * TimeSpan.FromHours(72);
	 */
	private long EnablePostpay;

	/**
	 * 卖家接单后多久未发货，买家可以退货退款<br>
	 * TimeSpan.FromHours(72);
	 */
	private long Deliver;

	/**
	 * 卖家发货后多久买家可以退货退款<br>
	 * TimeSpan.FromDays(10);
	 */

	private long ConfirmReceived;

	/**
	 * 交易成交后多久内买家可以申请售后<br>
	 * TimeSpan.FromDays(15);
	 */

	private long Turnover;
	
	public OperationInterval(long TakeOrder,long EnablePostpay,long Deliver,long ConfirmReceived,long Turnover){
		this.TakeOrder = TakeOrder;
		this.EnablePostpay = EnablePostpay;
		this.Deliver = Deliver;
		this.ConfirmReceived = ConfirmReceived;
		this.Turnover = Turnover;
	}

	public long getTakeOrder() {
		return TakeOrder;
	}

	public void setTakeOrder(long takeOrder) {
		TakeOrder = takeOrder;
	}

	public long getEnablePostpay() {
		return EnablePostpay;
	}

	public void setEnablePostpay(long enablePostpay) {
		EnablePostpay = enablePostpay;
	}

	public long getDeliver() {
		return Deliver;
	}

	public void setDeliver(long deliver) {
		Deliver = deliver;
	}

	public long getConfirmReceived() {
		return ConfirmReceived;
	}

	public void setConfirmReceived(long confirmReceived) {
		ConfirmReceived = confirmReceived;
	}

	public long getTurnover() {
		return Turnover;
	}

	public void setTurnover(long turnover) {
		Turnover = turnover;
	}

}
